package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 门店产品对象 web_dept_product
 * 
 * @author wsliupan@126.com
 * @date 2021-06-27
 */
@ApiModel("门店产品对象")
public class WebDeptProduct extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 门店ID */
    @Excel(name = "门店ID")
    @ApiModelProperty(value = "门店ID" )
    @NotNull(message = "门店ID 不能为空")
    private Long deptId;

    @TableField(exist = false)
    @Excel(name = "门店")
    private String deptName;

    /** 产品名称 */
    @Excel(name = "产品名称")
    @ApiModelProperty(value = "产品名称" )
    @NotNull(message = "产品名称 不能为空")
    private String name;

    /** 库存 */
    @Excel(name = "库存")
    @ApiModelProperty(value = "库存" )
    @NotNull(message = "库存 不能为空")
    private Long stock;

    /** 原价 */
    @Excel(name = "原价")
    @ApiModelProperty(value = "原价" )
    @NotNull(message = "原价 不能为空")
    private BigDecimal price;

    /** 折扣率 */
    @Excel(name = "折扣率")
    @ApiModelProperty(value = "折扣率" )
    @NotNull(message = "折扣率 不能为空")
    private BigDecimal discount;

    /** 产品图片 */
    @Excel(name = "产品图片")
    @ApiModelProperty(value = "产品图片" , hidden = true )
    private String images;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态" , hidden = true )
    private String status;

    /** 产品详细 */
    @Excel(name = "产品详细")
    @ApiModelProperty(value = "产品详细" , hidden = true )
    private String comment;

    /** 备用1 */
    @Excel(name = "备用1")
    @ApiModelProperty(value = "备用1" , hidden = true )
    private String param1;

    /** 备用2 */
    @Excel(name = "备用2")
    @ApiModelProperty(value = "备用2" , hidden = true )
    private String param2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStock(Long stock) 
    {
        this.stock = stock;
    }

    public Long getStock() 
    {
        return stock;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDiscount(BigDecimal discount) 
    {
        this.discount = discount;
    }

    public BigDecimal getDiscount() 
    {
        return discount;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setParam1(String param1) 
    {
        this.param1 = param1;
    }

    public String getParam1() 
    {
        return param1;
    }
    public void setParam2(String param2) 
    {
        this.param2 = param2;
    }

    public String getParam2() 
    {
        return param2;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
